package com.shop.prj.dao;

import com.shop.prj.bean.Book;

import java.util.List;

public interface BookDao {
    int insert(Book book);
    int update(Book book);
    int delete(Integer id);
    Book queryByBookId(Integer id);
    List<Book> queryAll();
    List<Book>queryByBookName(String BookName);
    Book queryByBook(String name);
}
